package quartz.backgroundTask;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 * 后台任务1
 * （编写任务的具体逻辑）
 */
public class MyJob1 implements Job {


    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        // 任务逻辑代码
        System.out.println("===后台任务“MyJob1”执行了！===");
    }
}
